package com.dog.basics.bean.dto.admin.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 常见问题新增标识
 * @author fengjk
 */
@Data
public class CommonProblemAddDto {

	/**
	 * 问题分类标识
	 */
	@NotNull(message = "问题分类标识不能为空")
	@ApiModelProperty(value ="问题分类标识" ,dataType ="Long",example = "",required = false)
	private Long problemClassId;

	/**
	 * 常见问题标题
	 */
	@ApiModelProperty(value ="常见问题标题" ,dataType ="String",example = "",required = false)
	@NotBlank(message = "常见问题标题不能为空")
	private String title;

	/**
	 * 常见问题简述
	 */
	@ApiModelProperty(value ="常见问题简述" ,dataType ="String",example = "",required = false)
	@NotBlank(message = "常见问题简述不能为空")
	private String sketch;

	/**
	 * 常见问题内容
	 */
	@ApiModelProperty(value ="常见问题内容" ,dataType ="String",example = "",required = false)
	@NotBlank(message = "常见问题内容不能为空")
	private String contentInfo;

	@NotNull(message = "问题类型不能为空")
	@ApiModelProperty(value = "问题类型 0 医生1 妈妈", dataType = "int",required = false, example = "")
	private Integer problemType;
}
